package com.lin.mybatisdubbomysql;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 九分石人
 */
@EnableTransactionManagement
@ComponentScan(basePackages = "com.lin.mybatisdubbomysql.*")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DruidDataSourceAutoConfigure.class})
public class StaticMybatisDubboMysqlApplication {

    public static void main(String[] args) {
        SpringApplication.run(StaticMybatisDubboMysqlApplication.class, args);
    }

}
